package cn.mesmile.code.utils;

import org.springframework.util.ObjectUtils;

import java.util.ArrayList;
import java.util.stream.Stream;

import static org.springframework.util.ObjectUtils.isEmpty;

/**
 * @author zb
 * @date 2022/1/14 11:43
 * @Description
 */
public class ObjectUtil {

    public static boolean isAnyEmpty(Object... obj) {
        return isEmpty(obj) || Stream.of(obj).anyMatch(ObjectUtils::isEmpty);
    }

}
